package com.zmn.plat.admin.controller.product.tariff.group;

import org.apache.shiro.authz.annotation.RequiresPermissions;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.ModelAttribute;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.ModelAndView;

import com.zmn.plat.model.entity.product.tariff.group.ProductTariffGroupQuery;

/**
 * 产品故障分组
 *
 * @author linfeng
 * @since 2019-11-21 18:57:24
 */
@RequestMapping("/product/tariff/group/")
@Controller
public class ProductTariffGroupListController extends ProductTariffGroupBaseController {
    /**
     * 产品价格表
     *
     * @param query
     * @author linfeng
     * @since 2019-11-21 18:57:24
     */
    @RequestMapping("listTable")
    @RequiresPermissions("/product/tariff/group/listTable.action")
    @SuppressWarnings("Duplicates")
    public ModelAndView listTable(@ModelAttribute ProductTariffGroupQuery query) {
        return super.list(query);
    }
}
